package net.dgg.dggcloud.service.jrcrm.entity.log;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 操作模块日志实体
 * 
 * @Title: SysOpreateModuleRecord
 * @Description:
 * @Auther: 雷力
 * @Date: 2018-11-09 11:01:36
 *
 */
@Entity
@Table(name = "sys_opreate_module_record")
public class SysOpreateModuleRecord implements Serializable {
	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 1236637154237831603L;

	/**
	 * 数据库表名
	 */
	public static final String TABLE_NAME = "sys_opreate_module_record";

	/**
	 * 主键
	 */
	@Id
	@Column(name = "id")
	private Long id;

	/**
	 * 操作人姓名
	 */
	@Column(name = "user_name")
	private String userName;

	/**
	 * 操作人工号
	 */
	@Column(name = "user_loginname")
	private String userLoginname;

	/**
	 * 操作时间
	 */
	@Column(name = "opreate_time")
	private Date opreateTime;

	/**
	 * 操作
	 */
	@Column(name = "opreate")
	private String opreate;

	/**
	 * 访问地址
	 */
	@Column(name = "url")
	private String url;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName == null ? null : userName.trim();
	}

	public String getUserLoginname() {
		return userLoginname;
	}

	public void setUserLoginname(String userLoginname) {
		this.userLoginname = userLoginname == null ? null : userLoginname.trim();
	}

	public Date getOpreateTime() {
		return opreateTime;
	}

	public void setOpreateTime(Date opreateTime) {
		this.opreateTime = opreateTime;
	}

	public String getOpreate() {
		return opreate;
	}

	public void setOpreate(String opreate) {
		this.opreate = opreate == null ? null : opreate.trim();
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url == null ? null : url.trim();
	}
}